package com.cjhme.system.impl.service.district.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cjhme.common.model.base.DataPaging;
import com.cjhme.system.impl.dao.district.DistrictDao;
import com.cjhme.system.impl.service.district.DistrictService;

@Service("system.districtService")
public class DistrictServiceImpl implements DistrictService {

	private DistrictDao districtDao;
	
	
	/**
	 * 根据条件分页查询
	 * @param parameter
	 * @return
	 */
	public DataPaging<Object> queryDistrictByConditionPaging(DataPaging<Object> pageParameter){
		return this.districtDao.queryDistrictByConditionPaging(pageParameter);
	}

	public DistrictDao getDistrictDao() {
		return districtDao;
	}

	@Resource(name = "system.districtDao")
	public void setDistrictDao(DistrictDao districtDao) {
		this.districtDao = districtDao;
	}
	
	
	
}
